<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!Doctype html>
<html>
<head>
<meta charset="utf-8">
<title>充值</title>
	<%@include file="/common/header.jsp" %>
</head>

<body class="layui-layout-body">

<div class="layui-layout layui-layout-admin">
	<div class="layui-header">
		<div class="layui-logo">欢迎来到校园二手交易市场</div>
		<%@include file="/common/top.jsp" %>
	</div>
	<%@include file="/common/user_left.jsp" %>
	<div style="margin: 30px 250px;">
		<form class="layui-form" action="/user/chongzhi" method="POST">
			<div class="layui-form-item">
				<label class="layui-form-label">充值金额</label>
				<div class="layui-input-inline">
					<input type="text" name="chCoin" required lay-vertify="required" placeholder="请输入充值金额" autocomplete="off" class="layui-input">
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit lay-filter="formDemo">充值</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
	</div>


<script>
//Demo
layui.use('form', function(){
  var form = layui.form;

  //监听提交
  form.on('submit(formDemo)', function(data){
  });
});
</script>
</div>
</body>
</html>